package com.hui.entity.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 商品点赞和收藏表(StoreProductRelation)表实体类
 *
 * @author hui
 * @since 2022-07-17 15:20:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("store_product_relation")
public class StoreProductRelation {

    private Long id;
    //用户ID
    private Long uid;
    //商品ID
    private Long productId;
    //类型(收藏(collect）、点赞(like)) 足迹(foot)
    private String type;
    //某种类型的商品(普通商品、秒杀商品)
    private String category;
    //添加时间
    private Date createTime;

    private Date updateTime;

    private Integer isDel;

}

